<?php

namespace app\admin\controller;

use app\common\model\Role as  RoleModel;

class Role extends Base
{
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * 信息
     * @return \think\response\Json
     */
    public function roles()
    {
        //查询条件
        $where = array();

        //获取信息
        $roles = RoleModel::getAll($where);

        //返回信息
        return returnJson(0, '', $roles);
    }



}
